snippet xhead "shell header" b
#!/bin/bash

$0
endsnippet

snippet xxhead "shell header" b
#!/bin/bash
#=================================================================
# date: `date +"%Y-%m-%d %H:%M:%S"`
# title: `!p snip.rv = snip.basename`
# author: QRS
#=================================================================

$0
endsnippet

snippet xsection "section" b
#-----------------------------------------------------------------
# $1
#-----------------------------------------------------------------

$0
endsnippet

snippet xxcase
case ${1:word} in
    ${2:pattern} ) $0;;
esac
endsnippet
